package com.nisure.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nisure.dao.KeywordDao;
import com.nisure.entity.KeywordEntity;
import com.nisure.info.KeywordTypeInfo;
import com.nisure.service.KeywordService;
@Service
public class KeywordServiceImpl implements KeywordService{

	@Autowired
	private KeywordDao keywordDao;
	@Override
	public int saveKeyword(List<KeywordEntity> keywordEntity) {
		// TODO Auto-generated method stub
		return keywordDao.saveKeyword(keywordEntity);
	}
	@Override
	public List<KeywordEntity> getKeywordRecord(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return keywordDao.getKeywordRecord(map);
	}
	@Override
	public int saveAllKeyword(List<KeywordTypeInfo> keywordTypeInfo) {
		// TODO Auto-generated method stub
		return keywordDao.saveAllKeyword(keywordTypeInfo);
	}
	@Override
	public int deleteAllKeyword(List<Long> userIdList) {
		// TODO Auto-generated method stub
		return keywordDao.deleteAllKeyword(userIdList);
	}
	@Override
	public List<String> queryKeyword(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return keywordDao.queryKeyword(map);
	}

}
